<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/5/2
  Time: 15:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>评价</title>

    <link rel="stylesheet" href="/boot/plugins1/layui-v2.6.5/layui/css/layui.css">
    <link rel="stylesheet" href="/boot/plugins1/bootstrap/css/bootstrap.min.css">

    <link href="/boot/css/bootstrap.css" rel="stylesheet">
    <link href="/boot/plugins/revolution/css/settings.css" rel="stylesheet" type="text/css"><!-- REVOLUTION SETTINGS STYLES -->
    <link href="/boot/plugins/revolution/css/layers.css" rel="stylesheet" type="text/css"><!-- REVOLUTION LAYERS STYLES -->
    <link href="/boot/plugins/revolution/css/navigation.css" rel="stylesheet" type="text/css"><!-- REVOLUTION NAVIGATION STYLES -->
    <link href="/boot/css/style.css" rel="stylesheet">
    <link href="/boot/css/responsive.css" rel="stylesheet">
    <link rel="shortcut icon" href="/boot/images/favicon.png" type="image/x-icon">
    <link rel="icon" href="/boot/images/favicon.png" type="image/x-icon">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
</head>
<body>

<jsp:include page="nav.jsp" flush="true"></jsp:include>
<div style="margin-left: 280px;margin-right: 730px">

    <table class="table">
        <caption>我的信息</caption>
        <thead>
        <tr>
            <th>订单编号</th>
            <th>秒杀ID</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td><input type="text" value="${ordersNo}" id="webOrderId"></td>
            <td><input type="text" value="${secId}" id="secId"></td>
        </tr>

        </tbody>
    </table><form role="form">
    <div class="form-group">
        <label>请输入您对这次秒杀商品的评价</label>
        <textarea class="form-control" rows="3" style="width: 1000px" id="talkBody"></textarea>
    </div>
    <div class="form-group" style="margin-left:360px">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="button" class="btn btn-default" id="commit_btn">提交</button>
        </div>
    </div>
    <div style="margin-bottom: 350px"></div>
</form>

</div>

<jsp:include page="footer.jsp" flush="true"></jsp:include>
<script src="/boot/plugins1/layui-v2.6.5/layui/layui.js"></script>
<script src="/boot/plugins1/jquery/jquery.min.js"></script>

<script src="/boot/plugins1/bootstrap/js/bootstrap.min.js"></script>

<script src="/boot/js/jquery.js"></script>
<script src="/boot/js/bootstrap.min.js"></script>

<script src="/boot/plugins/revolution/js/jquery.themepunch.revolution.min.js"></script>
<script src="/boot/plugins/revolution/js/jquery.themepunch.tools.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.actions.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.carousel.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.kenburn.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.layeranimation.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.migration.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.navigation.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.parallax.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.slideanims.min.js"></script>
<script src="/boot/plugins/revolution/js/extensions/revolution.extension.video.min.js"></script>
<script src="/boot/js/main-slider-script.js"></script>

<script src="/boot/js/jquery-ui.js"></script>
<script src="/boot/js/jquery.fancybox.pack.js"></script>
<script src="/boot/js/jquery.fancybox-media.js"></script>
<script src="/boot/js/owl.js"></script>
<script src="/boot/js/appear.js"></script>
<script src="/boot/js/wow.js"></script>
<script src="/boot/js/main-slider-script.js"></script>
<script src="/boot/js/script.js"></script>
<script src="/boot/plugins1/layui-v2.6.5/layui/layui.js"></script>
<script src="/boot/plugins1/jquery/jquery.min.js"></script>

<script>

    $(function () {

        $("#commit_btn").click(function () {

            let talkBody = document.getElementById("talkBody").value;
            let webOrderId = document.getElementById("webOrderId").value;
            let productId = document.getElementById("secId").value;

            alert(talkBody);
            window.location="/boot/user/addP?talkBody="+talkBody+"&webOrderId="+webOrderId+"&productId="+productId;
        })

    })

</script>
</body>
</html>
